package com.xingkong.product.domain;


import com.xingkong.common.annotation.Excel;
import com.xingkong.common.core.domain.BaseEntity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.*;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.experimental.Accessors;

/**
 * 商品板块，标识商品是否在某些板块中显示表 prdt_product_plate
 *
 * @author yiyue
 * @date 2020-03-15
 */
@Data
@Getter
@Setter
@ToString
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("prdt_product_plate")
public class ProductPlate extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * null
     */
    @TableId("id")
    private Long id;

    /**
     * 商品编号
     */
    @Excel(name = "商品编号")
    private Integer productId;

    /**
     * 是否新品
     */
    @Excel(name = "是否新品")
    private Integer isNew;

    /**
     * 是否热卖
     */
    @Excel(name = "是否热卖")
    private Integer isHot;

    /**
     * 是否精品
     */
    @Excel(name = "是否精品")
    private Integer isGreat;

    /**
     * 是否首页展示
     */
    @Excel(name = "是否首页展示")
    private Integer isIndex;

}